<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<script src="../../libs/jquery.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../libs/bootstrap.min.js"></script>
<script src="../../libs/vue.min.js"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
<script src="../../js/common.js"></script>
<script src="../../plugins/echarts/echarts.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../js/modules/bdbusiness/showGraph.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<a class="btn btn-primary" @click="details"><i class="fa fa-pencil-square-o"></i>&nbsp;外贸推荐</a>
			<a class="btn btn-primary" onClick="layerOpen()"><i class="fa fa-database"></i>&nbsp;数据图谱</a>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">展会信息</div>
		<div class="" style="margin: 20px;">
			<table class="ui-jqgrid-btable ui-common-table table table-bordered" style="width: 1000px;">
				<tbody>
					<tr>
						<td>展会名称</td>
						<td>时间</td>
						<td>地址</td>
						<td>URL</td>
					</tr>
					<tr v-for="(item, index) in list.list1">
						<td>{{item.name}}</td>
						<td>{{item.exhibitiontime}}</td>
						<td>{{item.address}}</td>
						<td>
							<input type="button" style="padding: 3px 5px;" class="btn" onClick="window.open($(this).parent().text().trim());" value="链接" />
							<p style="display: none;">{{item.url}}</p>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="panel-heading">企业信息</div>
		<div class="" style="margin: 20px;">
			<table class="ui-jqgrid-btable ui-common-table table table-bordered" style="width: 1000px;">
				<tbody>
					<tr>
						<td>企业名称</td>
						<td>国家</td>
						<td>主要进口商品</td>
<!-- 						<td>经销类型</td> -->
						<td>主要进口国(地区)</td>
						<td>URL</td>
					</tr>
					<tr v-for="(item, index) in list.list2">
						<td>{{item.name}}</td>
						<td>{{item.country}}</td>
<!-- 						<td>{{item.type}}</td> -->
						<td>{{item.mainIn}}</td>
						<td>{{item.mainArea}}</td>
						<td>
							<input type="button" style="padding: 3px 5px;" class="btn" onClick="window.open($(this).parent().text().trim());" value="链接" />
							<p style="display: none;">{{item.url}}</p>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		
		
		<div class="form-group">
			<div class="col-sm-1 control-label"></div>
			<input type="button" class="btn btn-primary" @click="reload" value="返回" />
		</div>
	</div>
</div>

<div class="control-label" id="showGraph" style="padding-left: 15px;width: 1000px;height: 400px;display: none;"></div>
<script src="../../js/modules/bdbusiness/foreigntictrade.js"></script>
</body>
</html>